{// 引入标签库 }
<tagLib name="fanwe" />
{// 加载头部公共文件 }
<include file="Public:header" />
<!-- 菜单区域  -->
<script type="text/javascript">
function showOrder(id)
{
	window.open("__APP__?m=Order&a=show&id=" + id);
}
</script>
<!-- 主页面开始 -->
<div id="main" class="main" >
<!-- 主体内容  -->
<div class="content" >
<div class="title">{$Think.lang.DATA_LIST}</div>
<!--  功能操作区域  -->
<form method='get' action="__APP__">
<div class="operate" >
<!-- 查询区域 -->
兑换商品：<input type="text" class="medium" name="data_name"  style="width:100px;" value="{$data_name}" id="c_data_name" />
订单号：<input type="text" class="medium" name="sn"  style="width:100px;" value="{$sn}" id="c_sn" />
会员帐号:&nbsp;&nbsp;<input type="text" name="user_name" class="medium" style="width:100px;" value = "{$user_name}" id="c_user_name">
<select name="goods_status" id="c_goods_status">
    <option value="-1" <if condition="$goods_status eq -1">selected</if>>处理状态</option>
    <option value="0" <if condition="$goods_status eq 0">selected</if>>{%ORDER_GOODS_STATUS_0}</option> 
    <option value="1" <if condition="$goods_status eq 1">selected</if>>{%ORDER_GOODS_STATUS_1}</option>
    <option value="2" <if condition="$goods_status eq 2">selected</if>>{%ORDER_GOODS_STATUS_2}</option>
</select>
<fanwe:imageBtn type="submit" name="search" value="{$Think.lang._SEARCH_DATA}" style="impBtn hMargin fLeft shadow" />
<input type="hidden" value="Order" name="m" />
<input type="hidden" value="index" name="a" />
</div>
</form>

<!-- 功能操作区域结束 -->

<!-- 列表显示区域  -->
<div class="list" >
<fanwe:list 
id="checkList" 
name="order" 
style="list" 
action="true" 
datasource="list" 
show="id:{$Think.lang.ID}|4%,sn:{$Think.lang.ORDER_SN}:showOrder,data_name:兑换商品:showOrder,data_num:数量,create_time|toDate:{$Think.lang.ORDER_CREATE_TIME},order_score:兑换积分,user_name:{$Think.lang.USER_NAME},goods_status|getOrderGoodsStatus:{$Think.lang.ORDER_GOODS_STATUS}" 
actionlist="id|getOrderEdit=$order['goods_status']" /> 
</div>
<!--  分页显示区域 -->

<div class="page">{$page}</div>
<!-- 列表显示区域结束 -->
</div>
<!-- 主体内容结束 -->
</div>
<!-- 主页面结束 -->

